package khfx.domain.test;

import javax.persistence.Column;

@javax.persistence.Table(name = "STUDENT")
public class Student {
	@Column(name = "ID")
	private Integer id;
	@Column(name = "NAME")
	private String name;
	
	public Integer getId() {
		return id;
	}
	public Student setId(Integer id) {
		this.id = id;
		return this;
	}
	public String getName() {
		return name;
	}
	public Student setName(String name) {
		this.name = name;
		return this;
	}
	
	@Override
	public String toString(){
		return "{ ID ="+id+" , Name = "+name+" }";
	}
}
